package yur.wedding.modules.sys.dao;

import yur.wedding.modules.sys.entity.SysRoleDoorEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 *
 * @author Yur
 * @email ${email}
 * @date 2022-05-06 19:20:22
 */
@Mapper
public interface SysRoleDoorDao extends BaseMapper<SysRoleDoorEntity> {


    /**
     * 批量删除门户与菜单的关系
     * @param longs
     */
    void deleteBatch(Long[] longs);

    List<Long> queryDoorIdList(Long role_id);
}
